currying in haskell when the uncurried form is known